/*
 * @Author: your name
 * @Date: 2021-09-13 10:48:17
 * @LastEditTime: 2021-09-13 11:37:43
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \team\src\api\talentApi.js
 */
// 发送请求


import { get, post, put, remove } from '@/utils/request'


// 添加人才
export const addTa = talentInfo => {
    return post('/api/talents', talentInfo)
}


// 请求人才列表数据
export const taList = (page = 1) => {
    return get('/api/talents?page=' + page)
}


// 修改
export const updateTa = talentInfo => {
    return put('/api/talents', talentInfo)
}


export const seeTa = talentInfo => {
    return get('/api/talents', talentInfo)
}